﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace BAL.EstRec
{
    public class CollectionsPivotFDV : ObservableCollection<VMCapturaPivotFDV>
    {
        public CollectionsPivotFDV(List<CapturaPivotFDV> cpfdv)
        {
            foreach (var item in cpfdv)
            {

                this.Add( new VMCapturaPivotFDV(item.pos,item.recurso,item.cantidad));
                
            }
        }//

        public CollectionsPivotFDV(List<VMCapturaPivotFDV> cpfdv)
        {
            foreach (var item in cpfdv)
            {

                this.Add(item);

            }
        }//

    }// end class
}
